(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[42],{

/***/ "./src/views/flowable/modules/design/modules/right/config/findpic.js":
/*!***************************************************************************!*\
  !*** ./src/views/flowable/modules/design/modules/right/config/findpic.js ***!
  \***************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* @Descripttion:
   @Version: 1.0
   @Author: wfz
   @Date: 2023-07-20 18:06:00
   @LastEditors: wfz
   @LastEditTime: 2023-07-29 17:30:26 */
/* @Descripttion:
   @Version: 1.0
   @Author: wfz
   @Date: 2023-07-20 18:06:00
   @LastEditors: wfz
   @LastEditTime: 2023-07-22 15:57:29 */
/* harmony default export */ __webpack_exports__["default"] = ({
  defaultParams: {
    type: 'findpic',
    nodeName: '定位图片',
    "picPath": "",
    "moveMouse": "false",
    "mouseLocation": "center"
  },
  getParamsData: function getParamsData(item) {
    return Object.assign(this.defaultParams, item || {});
  },
  /**
   * @description: 获取配置面板信息
   * @author: wufz
   * @param {*} item 节点的configParams
   * @return {*}
   */
  getConfigData: function getConfigData(item) {
    return {
      picPath: {
        type: 'dcbUpload',
        attrs: {
          value: item.picPath,
          title: '图片上传'
        },
        props: {},
        events: {
          fileChange: 'uploadFileChange'
        }
      },
      moveMouse: {
        type: 'dcbRadio',
        attrs: {
          value: item.moveMouse,
          title: '是否移动鼠标'
        },
        props: {
          options: [{
            label: '是',
            value: 'true'
          }, {
            label: '否',
            value: 'false'
          }]
        },
        events: {
          change: 'valueChange'
        }
      },
      mouseLocation: {
        type: 'dcbSelect',
        attrs: {
          value: item.mouseLocation,
          title: '目标位置'
        },
        props: {
          options: [{
            label: '居中',
            value: 'center'
          }, {
            label: '左上',
            value: 'topLeft'
          }, {
            label: '右上',
            value: 'topRight'
          }, {
            label: '左下',
            value: 'bottomLeft'
          }, {
            label: '右下',
            value: 'bottomRight'
          }],
          placeholder: '请选择目标位置'
        },
        events: {
          change: 'valueChange'
        }
      }
    };
  }
});

/***/ })

}]);